#ifndef __CMS_ALARM_3BFN0XOG
#define __CMS_ALARM_3BFN0XOG

enum ctc_alarm_scope {
	CTC_ALARM_REPORT = 1,
	CTC_ALARM_SYSLOG = 2,
	CTC_ALARM_REPORT_SYSLOG = 3,
};

enum ctc_alarm_severity {
	CTC_ALARM_CRITICAL = 1,
	CTC_ALARM_MAJOR,
	CTC_ALARM_MINOR,
};

struct ctc_alarmInfo_struct {
	const char *alarmCode;
	enum ctc_alarm_scope alarmScope;
	enum ctc_alarm_severity alarmSeverity;
};

#define ALARM_SYSTEM_REBOOT 		"104001"
#define ALARM_PORT_NOT_AVAILABLE 	"104006"
#define ALARM_WLAN_HW_FAULT		"104012"
#define ALARM_WLAN_SW_FAULT  		"104013"
#define ALARM_CPU_HIGH				"104030"
#define ALARM_LOGIN_ERROR			"104032"
#define ALARM_RAM_HIGH				"104036"

#define ALARM_FILE_SERVER_UNREACHABLE		"104050"
#define ALARM_FILE_USER_ERROR					"104051"
#define ALARM_FILE_DOWNLOAD_TIMEOUT			"104052"
#define ALARM_FILE_NOT_FOUND					"104053"
#define ALARM_FILE_CONFIG_UPDATE_FAIL			"104054"
#define ALARM_FILE_BACKUP_FAIL					"104055"
#define ALARM_FILE_RESTORE_FAIL				"104056"
#define ALARM_FILE_CONFIG_FORMAT_ERROR		"104057"
#define ALARM_FILE_FIRMWARE_UPGRADE_FAIL		"104058"
#define ALARM_FLASH_INSUFFICIENT			"104059"
#define ALARM_SOFTWARE_UPGRADE_FAULT			"104060"
#define ALARM_SYSLOG_UPLOAD_FAIL			"104061"
#define ALARM_VoIP_NETWORK_UNREACHABLE		"104102"

#define ALARM_VoIP_AUTH_FAIL					"104104"
#define ALARM_VoIP_REGISTER_FAIL				"104105"
#define ALARM_VoIP_REGISTER_NORESPONSE				"104106"
#define ALARM_PPPOE_DAIL_FAIL					"104111"
#define ALARM_PPPOE_DAIL_SUCCESS				"104112"
#define ALARM_EPG_SERVER_UNREACHABLE				"104122"
#define ALARM_DDNS_SERVER_UNREACHABLE	"104142"
#define ALARM_DDNS_USER_ERROR			"104143"

#define ALARM_REBOOT_FLAG_FILE		"/tmp/sys_reboot"


#endif /* end of include guard: __CMS_ALARM_3BFN0XOG */
